package com.shenzhenai.module_pattern.demo2;

/**
 * @author huangzehui
 * @date 2025/8/21 13:36 周四
 * @description
 */
public class Client {
    public static void main(String[] args) {
        Singleton instance = Singleton.getInstance();
        Singleton instance1 = Singleton.getInstance();

        System.out.println(instance);
        System.out.println(instance1);
        System.out.println(instance == instance1);
    }
}
